import request from '@/utils/request'

// 查询雷达站址
export function getLocationList(params) {
  console.log("1121", params);

  return request({
    url: '/radar/location/list',
    method: 'get',
    params
  })
}
// 查询航迹
export function getTrackList(params) {
  return request({
    url: '/radar/track/list',
    method: 'get',
    params
  })
}
export function getRealList(params) {
  return request({
    url: '/radar/real/list',
    method: 'get',
    params
  })
}
export function getInterfereList(params) {
  return request({
    url: '/radar/interfere/list',
    method: 'get',
    params
  })
}
export function getPointList(params) {
  return request({
    url: '/radar/point/list',
    method: 'get',
    params
  })
}
export function getHrrpList(params) {
  return request({
    url: '/radar/hrrp/list',
    method: 'get',
    params
  })
}
export function getRdList(params) {
  return request({
    url: '/radar/rd/list',
    method: 'get',
    params
  })
}
export function getJemList(params) {
  return request({
    url: '/radar/jem/list',
    method: 'get',
    params
  })
}
// 历史航迹
export function getQueryHisSituation(params) {
  return request({
    url: '/radar/trackBatch/queryHisSituation',
    method: 'get',
    params
  })
}
//高度统计
export function getStatByHeight(params) {
  return request({
    url: '/radar/trackBatch/statByHeight',
    method: 'get',
    params
  })
}
//速度统计
export function getStatBySpeed(params) {
  return request({
    url: '/radar/trackBatch/statBySpeed',
    method: 'get',
    params
  })
}
//信噪比统计
export function getStatBySnr(params) {
  return request({
    url: '/radar/trackBatch/statBySnr',
    method: 'get',
    params
  })
}
//活动时间统计
export function getStatByActiveTime(params) {
  return request({
    url: '/radar/trackBatch/statByActiveTime',
    method: 'get',
    params
  })
}
//活动频次统计
export function getStatByActiveFreq(params) {
  return request({
    url: '/radar/trackBatch/statByActiveFreq',
    method: 'get',
    params
  })
}
//架次统计
export function getStatByBatchNum(params) {
  return request({
    url: '/radar/trackBatch/statByBatchNum',
    method: 'get',
    params
  })
}
//架次统计
export function getStatBySize(params) {
  return request({
    url: '/radar/trackBatch/statBySize',
    method: 'get',
    params
  })
}
//架次统计
export function getStatByRcs(params) {
  return request({
    url: '/radar/trackBatch/statByRcs',
    method: 'get',
    params
  })
}
//航迹批次
export function getTrackBatchList(params) {
  return request({
    url: '/radar/trackBatch/list',
    method: 'get',
    params
  })
}
//人工标注
export function saveTrackBatchManual(data) {
  return request({
    url: '/radar/trackBatch/manual',
    method: 'post',
    data
  })
}

//精度统计
export function getStatByDeviation(params) {
  return request({
    url: '/radar/trackBatch/statByDeviation',
    method: 'get',
    params
  })
}

//连续统计
export function getStatByContinuity(params) {
  return request({
    url: '/radar/trackBatch/statByContinuity',
    method: 'get',
    params
  })
}


//干扰方向
export function getStatByInterfereDirection(params) {
  return request({
    url: '/radar/trackBatch/statByInterfereDirection',
    method: 'get',
    params
  })
}

//干扰时长
export function getStatByInterfereDuration(params) {
  return request({
    url: '/radar/trackBatch/statByInterfereDuration',
    method: 'get',
    params
  })
}


//干扰类型
export function getStatByInterfereType(params) {
  return request({
    url: '/radar/trackBatch/statByInterfereType',
    method: 'get',
    params
  })
}

//干扰强度
export function getStatByInterfereStrength(params) {
  return request({
    url: '/radar/trackBatch/statByInterfereStrength',
    method: 'get',
    params
  })
}

//干扰频次
export function getStatByInterfereFreq(params) {
  return request({
    url: '/radar/trackBatch/statByInterfereFreq',
    method: 'get',
    params
  })
}

//干扰频次
export function getLastRadarLocation(params) {
  return request({
    url: '/radar/location/getLastRadarLocation',
    method: 'get',
    params
  })
}



